#!/bin/bash
if  [ ! -n "$1" ] ;then
    echo "请输入品牌!"
else
    echo "开始抓取$1的商品"
    dt=$(date "+%Y-%m-%dT%H:%M:%S")
    python3.5 -u $1.py 2>&1 |tee $1.$dt.log
fi
